- The XBRL Standard
- XBRL Specifications
- Registries
- Functions Registry 1.0
- Functions Registry
- xfi:is-instant-period
- 80125:
Function test xfi:is-instant-period
Documentation
Tests of function xfi:is-instant-period($period as element(xbrli:period)) as xs:boolean
Owners
Name
|
Affiliation
|
Email
|
Start
|
End
|
Herm Fischer |
UBMatrix / Mark V Systems
|
fischer@markv.com |
19-02-2008 at 00:00:00 |
|
References
http://www.xbrl.org/Specification/XF-PWD-2006-12-07.htm#_Toc152670676
Test Case Variations
V-01
Returns correct for an instant period
Documentation
Inputs
Outputs
-
Result test:
$result instance of xs:boolean and
$result eq true()
V-02
Period for start-end duration context
Documentation
Inputs
Outputs
-
Result test:
$result instance of xs:boolean and
$result eq false()
V-04
Period for a forever period context
Documentation
Inputs
Outputs
-
Result test:
$result instance of xs:boolean and
$result eq false()
V-05
Wrong node to function
Documentation
XPath-defined error for node type incorrect.
Inputs
Outputs
-
Error code: xqt-err:XPTY0004
V-06
A sequence of periods as argument
Documentation
XPath-defined error for node type incorrect arity of argument.
Inputs
Outputs
-
Error code: xqt-err:XPTY0004
Revisions
Name
|
On
|
Details
|
Herm Fischer |
19-02-2008 at 00:00:00 |
Created the test case.
|